/**
 * 调用示例：

	PushMessage message = new PushMessage();
	
	JSONObject jsonObject = new JSONObject();	// 所有参数会序列化传递到跳转页面
	jsonObject.put("type", 1);
	jsonObject.put("id", "abc");
	
	message.setTitle("推送标题");
	message.setContent("推送内容");
	message.setPayload(jsonObject);
	
	List<String> list = new ArrayList<>();
	list.add("bd7fcc58614fb3728a6f0f71a79dfa57");
	
	UniPushUtil.pushMessage(message, list);
	
 */

package com.twb.unipush.entity;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName PushMessage
 * @Description uni push消息
 * @author DHL
 * @date 2021年7月7日 上午9:52:04
 */
@ApiModel(value = "PushMessage", description = "uni push消息")
public class PushMessage implements Serializable {
	private static final long serialVersionUID = 1L;

	/** 消息标题 */
	@ApiModelProperty(value = "消息标题")
	private String title;

	/** 消息内容 */
	@ApiModelProperty(value = "消息内容")
	private String content;

	/** 消息参数 */
	@ApiModelProperty(value = "消息参数")
	private JSONObject payload;

	/** 消息内容 */
	public String getContent() {
		return content;
	}

	/** 消息内容 */
	public void setContent(String content) {
		this.content = content;
	}

	/** 消息标题 */
	public String getTitle() {
		return title;
	}

	/** 消息标题 */
	public void setTitle(String title) {
		this.title = title;
	}

	/** 消息参数 */
	public JSONObject getPayload() {
		return payload;
	}

	/** 消息参数 */
	public void setPayload(JSONObject payload) {
		this.payload = payload;
	}

	
}
